package com.azzcs.myrpc.server;

import org.springframework.context.annotation.ImportSelector;
import org.springframework.core.type.AnnotationMetadata;

/**
 * @Author: wzg
 * @Date: 2021/1/23 下午9:45
 */

public class RpcServerImportSelector implements ImportSelector {

    @Override
    public String[] selectImports(AnnotationMetadata annotationMetadata) {
        return new String[]{"com.azzcs.myrpc.autoconfig.MyRpcAutoConfig",
                "com.azzcs.myrpc.server.Server",};
    }
}
